package cn.itsource.alipay.service;

import cn.itsource.alipay.aplipayCommon.AlipayService;
import cn.itsource.alipay.dto.PayDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class AlipayInfoServiceImpl {


    @Autowired
    private AlipayService alipayService;

    /**
     * 用来进行跳转到  二维码生成的页面
     *
     * @param dto
     * @return
     *
     *
     */
//    public String goBuy(PayDto dto) {
////        if (StringUtils.isAnyBlank(dto.getSubject(), dto.getSubjectDesc()) || dto.getMoney() == null || dto.getShopId() == null) {
////            System.out.println(">>>>>>>>>>>>>缺少必传参数");
////            return "<h1>缺少必传参数</h1>";
////        }
//        return alipayService.createPayUrl(dto.getMoney(), dto.getSubjectDesc());
//
//
//    }
}
